import Index from '../../pages/index.vue';
import Login from '../../pages/login.vue';
import allRouter from "../allRouter"
const defaultRouter = [
  {
    path: '/',
    name: 'index',
    component: Index,
    // redirect:'/home',
    // component: () => import(/* webpackChunkName: "school" */ '../views/components/home/Tab2.vue'),
    meta: {
      title: '首页',
      // roles:['app_all']
    },
   children:[],
  },
  {
    path: '/login',
    name: 'login',
    component: () => import(/* webpackChunkName: "school/login" */ '../../pages/login.vue'),
    meta: {
      title: '登陆',
    },

  },
  {
    path: '/web-view',
    name: 'webview',
    component: () => import(/* webpackChunkName: "school/webview" */ '../../pages/web-view.vue'),
    meta: {
      title: '',
    },

  },
]
export default defaultRouter;
